#ifndef SPRING_H_INCLUDED
#define SPRING_H_INCLUDED
#include "Vec3.h"

class Particle;

class Spring
{
public:
	Spring() {}
	Spring(float k, float MinLength, float MaxLength, float NaturalLength);
	void Draw();
	void Update();
	void Init(float k, float MinLength, float MaxLength, float NaturalLength);
	void SetParticles(Particle& p1, Particle& p2);

private:
	float m_K; 
	float m_Min;
	float m_Max;  
	float m_Natural;
	Particle* m_Particles[2];


};

#endif